package net.oschina.app.protocol.explore;

import net.oschina.app.bean2.MoveMyBean;
import net.oschina.app.protocol.AccessProtocol;
import net.oschina.app.protocol.AccessService;

import retrofit2.Call;

/**
 * Created by Shinelon on 2017/1/16.
 */

public class MyEventProtocol extends AccessProtocol<MoveMyBean> {
    @Override
    protected void callNet(AccessService accessService) {
        Call<MoveMyBean> call = accessService.getMyEventData();
        call.enqueue(callback);
    }
}
